<template>
	<view class="editMemberInfo">
		<view class="top">
			<image @tap="toPage()" class="back" src="../../images/aliang/left.png" mode="widthFix"></image>
			<text class="title">编辑个人资料</text>
			<text class=""></text>
		</view>
		<view class="content">
			<view class="input-box">
				<view class="title">
					真实姓名
				</view>
				<input v-model="realName" type="text" value="" placeholder-class="placehold" placeholder="请输入真实姓名"/>
			</view>
			<view class="input-box">
				<view class="title">
					公司名称
				</view>
				<input v-model="company" type="text" value="" placeholder-class="placehold" placeholder="请输入公司名称"/>
			</view>
			<view class="input-box">
				<view class="title">
					部门
				</view>
				<input v-model="c" type="text" value="" placeholder-class="placehold" placeholder="请输入部门"/>
			</view>
			<view class="input-box">
				<view class="title">
					手机号
				</view>
				<input v-model="phone" type="text" value="" placeholder-class="placehold" placeholder="请输入手机号码"/>
			</view>
		</view>
		<view class="finish" @tap='finish'>
			完成
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				realName:'',
				company:'',
				c:'',
				phone:'',
				id:'',
			}
		},
		onLoad(options){
			if(options.id){
				this.id = options.id;
				this.getMemberInfo();
			}
		},
		methods:{
			toPage(){
				uni.navigateBack({
					delta: 1,
				});
			},
			// 修改
			finish(){
				
			},
			// 获取资料
			getMemberInfo(){
				
			}
				
		},
	}
</script>

<style lang='less' scoped>
	.editMemberInfo{
		.top{
			display: flex;
			justify-content: space-between;
			align-items: center;
			height:106rpx;
			padding:0 29rpx 0 30rpx;
			background:#0F6EDE;
			.back{
				width:31rpx;
			}
			.title{
				font-size: 36rpx;
				font-family: PingFangSC, PingFangSC-Medium;
				font-weight: 500;
				text-align: center;
				color: #ffffff;
			}
		}
		.content{
			padding:0 36rpx;
			font-size: 34rpx;
			font-family: PingFangSC, PingFangSC-Regular;
			font-weight: 400;
			text-align: left;
			color: #111111;
			.input-box{
				height:110rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;
				box-shadow: 0px -1px 0px 0px #eeeeee inset;
				font-size: 32rpx;
				text-align: right;
			}
			.placehold{
				font-size: 32rpx;
				font-family: PingFangSC, PingFangSC-Regular;
				font-weight: 400;
				text-align: right;
				color: #999999;
			}
		}
		.finish{
			margin:112rpx auto;
			width: 700rpx;
			height: 80rpx;
			line-height: 80rpx;
			text-align: center;
			background: #0f6ede;
			border-radius: 8rpx;
			font-size: 30rpx;
			font-family: PingFangSC, PingFangSC-Regular;
			font-weight: 400;
			text-align: center;
			color: #ffffff;
		}
	}
</style>
